package com.sqx.modules.creation.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class CommentReplyVo {
    @TableId(value = "creation_reply_id", type = IdType.AUTO)
    private Integer creationReplyId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    private String userName;

    private String userAvatar;

    /**
     * 评论id
     */
    @TableField("creation_comment_id")
    private Integer creationCommentId;

    /**
     * 回复内容
     */
    @TableField("reply_content")
    private String replyContent;

    /**
     * 点赞数
     */
    @TableField("good_num")
    private Integer goodNum;

    /**
     * 是否点赞：0未点赞1点赞
     */
    private Integer isGood;

    /**
     * 回复评论父id
     */
    @TableField("parent_id")
    private Integer parentId;

    @TableField("create_time")
    private Date createTime;
    /**
     * 被回复的用户名
     */
    private String replyUserName;
    /**
     * 被回复的用户头像
     */
    private String replyUserAvatar;

}
